package com.woniuxy.java106crm.mapper;

import com.woniuxy.java106crm.entity.Customer;
import com.woniuxy.java106crm.vo.CustomerVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerMapper {

    List<Customer> findAllCustomers();

    boolean updateCustomer(Customer customer);

    /**添加客户信息*/
    boolean addCustomer(CustomerVo customerVo);

    void updateStatusById(String id);

    List<Customer> queryCondition(Customer customer);
}
